home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Enigma Amiga Life 110
/
EnigmaAmiga110CD.iso
/
software
/
varie
/
wordworth_upd701
/
wordworth 7.01 update
< prev
next >
Wrap
Text File
|
1998-08-03
|
1KB
|
53 lines
; Script to update Wordworth 7 to Wordworth 7.01 - MJ & PB
echo "*NDigita Wordworth 7.01 Update"
echo "============================*N"
echo "This will update your copy of Wordworth 7 to version 7.01.*N"
ask "Do you want to continue (Y/N)?"
if warn
if not exists ENV:Wordworth/WwFonts
echo "*NERROR: Wordworth does not seem to be installed correctly."
echo "Re-install Wordworth 7, then run this update again."
ask "*NPress Return to exit."
Quit
endIf
cd >ENV:CurrentDir
type ENV:Wordworth/WwFonts >ENV:FontPath
cd "$FontPath"
cd /
cd >ENV:WwPath
cd "$CurrentDir"
; Copy the files
echo "*N0% 100%"
lhex "-qafw=$wwpath" x WWProg.lha
echo noline "######"
lhex "-qafw=$wwpath/WWFiles" x WWCore.lha
echo noline "###"
lhex "-qafw=$wwpath/Modules" x WWModules.lha
echo noline "###"
; Add a line to the core catalog file
if exists "$WwPath/catalogs/english"
echo noline "*N31, January 1998" >>"$WwPath/Catalogs/english/WwCore.catalog"
endif
if exists "$WwPath/catalogs/deutsch"
echo noline "*N31, Januar 1998" >>"$WwPath/Catalogs/deutsch/WwCore.catalog"
endif
if exists "$WwPath/catalogs/français"
echo noline "*N31, Janvier 1998" >>"$WwPath/Catalogs/français/WwCore.catalog"
endif
echo "#"
endif
unsetenv >NIL: CurrentDir
unsetenv >NIL: FontPath
unsetenv >NIL: WwPath
ask "*NPress Return to exit."